package com.lframework.xingyun.basedata.service.shop;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.basedata.entity.ShopProduct;
import com.lframework.xingyun.basedata.vo.shop.QueryShopProductVo;
import com.lframework.xingyun.basedata.vo.shop.SaveShopProductVo;

import java.util.List;

/**
 * 门店商品关系表 Service
 */
public interface ShopProductService extends BaseMpService<ShopProduct> {

    /**
     * 查询列表
     * @return
     */
    PageResult<ShopProduct> queryPage(Integer pageIndex, Integer pageSize, QueryShopProductVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<ShopProduct> queryList(QueryShopProductVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    ShopProduct findById(String id);

    /**
     * 新增/修改
     * @param vo
     */
    void save(SaveShopProductVo vo);
}

